<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<link rel="stylesheet" href="__app__/admin/view/AssembleOrder/orderDetailList/orderDetailList.css" />
<body>
<!---------------- 商品列表 ------------------->

<!-- 页头 -->
{include file="common/page/header"}
<!-- 主体 -->
<div class="content container-fluid{if $leftBarScale eq '1'} scale{/if}">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}

        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3><i class="icon iconfont">{$Think.session.currentMenu.icon}</i>订单商品列表
                <div class="operation-div">
                    <a class="btn btn-default" href="javascript:window.history.go(-1);">返回</a>
                </div>
            </h3>
            <div class="inner-section row">
                <div id="content">
                    <div class="list-title">
                        <div class="list-title-panel">
                            <span class="glyphicon glyphicon-list"></span>列表</span>
                        </div>
                    </div>
                    <div class="table-content" id = "list_container">
                        <table id="list-table" class="list-table table-hover table-bordered" cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
                            <tbody>
                                <tr>
                                    <th class="th1">序号</th>
                                    <th class="th2">缩略图</th>
                                    <th class="th3">商品名称</th>
                                    <th class="th5">数量</th>
                                    <th class="th6">原价</th>
                                    <th class="th6">单价</th>
                                    <th class="th6">类型</th>
                                    <th class="th6">昵称</th>
                                    <th class="th4">添加时间</th>
                                </tr>
                                <tr class="even">
                                    <td>1</td>
                                    <td><img src="{$Think.const.ROOT_URL}{$orderInfo.thumb}" height="40"/></td>
                                    <td>{$orderInfo.goods_name}</td>
                                    <td>{$orderInfo.goods_count}</td>
                                    <td>{$orderInfo.ori_price}</td>
                                    <td>{$orderInfo.price}</td>
                                    <td>{if $orderInfo.type == 0}单人{else}团购{/if}</td>
                                    <td>{$orderInfo.nick_name}</td>
									<td>{$orderInfo.add_time}</td>
                                </tr>
                                <tr>
                                    <td colspan="2">合计：{$orderInfo.real_money}元</td>
                                    <td colspan="6">
                                        地址：{$orderInfo.address_text}
                                    </td>
                                    <td colspan="1">
                                        {if $orderInfo.state eq '0'}待付款
                                        {elseif $orderInfo.state eq '1'}待发货
                                        {elseif $orderInfo.state eq '2'}已发货
                                        {elseif $orderInfo.state eq '3'}已收货
                                        {elseif $orderInfo.state eq '4'}交易关闭
                                        {elseif $orderInfo.state eq '5'}交易完成
                                        {elseif $orderInfo.state eq '6'}等待退款
                                        {elseif $orderInfo.state eq '7'}已退款
                                        {elseif $orderInfo.state eq '8'}已评价
                                        {/if}
                                    </td>
                                </tr>
                                {if condition="$orderInfo.refund_mark"}
                                <tr>
                                    <td colspan="9">
                                        {if condition="isset($orderInfo['is_success'])"}
                                        <span style="margin-right:15px;">
                                        拼单状态：
                                        {if condition="$orderInfo.is_success==1"}
                                        <font color="green">拼单成功</font>
                                        {elseif condition="$orderInfo.is_success==0"}
                                        <font color="#999">拼单中</font>
                                        {elseif condition="$orderInfo.is_success==-1"}
                                        <font color="red">拼单失败</font>
                                        {/if}
                                        </span>
                                        {/if}

                                        <span>退款备注：{$orderInfo.refund_mark}</span>
                                    </td>
                                </tr>
                                {/if}
                                <tr>
                                    <td colspan="9">
                                        <span style="color: #FF5C00">实际金额：{$orderInfo.total_price}</span>{if $orderInfo.min}<span style="margin-left: 10px;color: #666666">优惠金额：{$orderInfo.min}</span>{/if}
                                        <span style="margin-left: 10px;">支付方式：
                                            {if $orderInfo.pay_method eq '0'}无
                                            {elseif $orderInfo.pay_method eq 1}微信支付
                                            {elseif $orderInfo.pay_method eq 2}支付宝支付
                                            {elseif $orderInfo.pay_method eq 3}货到付款
                                            {elseif $orderInfo.pay_method eq 4}余额付款
                                            {/if}
                                        </span>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
					<div class="print-button">
						<a href="javascript:window.print();" class="btn btn-sm btn-default pull-right">打印</a>
					</div>
                    <div class="fn-clear"></div>

                    <!-- 列表底部 -->
                    <div class="list-bottom">
                        <div class="list-bottom-panel">
                        </div>
                    </div>
                </div>
                <!--分页-->
                <div id="page-selection"></div>
            </div>
        </div>
    </div>
</div>

<!-- 页脚 -->
{include file="common/page/footer"}

<!-- jsfiles -->
{include file="common/page/jsfiles"}
<script src="__static__/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__static__/js/jquery.bootpag/jquery.bootpag.min.js"></script>
</body>
</html>